package at.fhj.itm10.ticketmaster.services;

import java.util.List;

import at.fhj.itm10.ticketmaster.dao.AddressDAO;
import at.fhj.itm10.ticketmaster.entities.Address;

/**
 * Address service.
 * 
 * @author Stefan Leisenberger
 */
public interface AddressService {
	
	void insertAddress(Address address);
	
	void updateAddress(Address address);
	
	void deleteAddress(Address address);
	
	AddressDAO getAddressDao();
	
	void setAddressDao(final AddressDAO theDao);
	
	Address findById(long id);

	List<Address> findAll();
}